<%@ page contentType="text/html;charset=UTF-8" %>
<%@ include file="/webpage/include/taglib.jsp"%>
<html>
<head>
	<title>保险管理</title>
	<meta http-equiv="Content-type" content="text/html; charset=utf-8">
	<meta name="decorator" content="ani"/>
	<%@ include file="/webpage/include/bootstraptable.jsp"%>
	<%@include file="/webpage/include/treeview.jsp" %>
	<%@include file="lnsuranceList.js" %>
</head>
<body>
	<div class="wrapper wrapper-content">
	<div class="panel panel-primary">
	<div class="panel-heading">
		<h3 class="panel-title">保险列表</h3>
	</div>
	<div class="panel-body">
		<sys:message content="${message}"/>
	
	<!-- 搜索 -->
		<table id="" class="table text-nowrap"  data-toolbar="#toolbar">
			<thead>
			<tr>
				<th>保单名称</th>
				<th>保单总额</th>
				<th>保单剩余金额</th>
			</tr>
			</thead>
			<tbody id="deti">

			</tbody>
		</table>
		<div class="accordion-inner">
			<form:form id="searchForm" modelAttribute="lnsurance" class="form form-horizontal well clearfix">
				<div class="col-xs-6 col-sm-3 col-md-2">
					<label class="label-item single-overflow pull-left" title="：">保单：</label>
					<select id="bd" class=" form-control">

					</select>
				</div>
				<div class="col-xs-6 col-sm-3 col-md-2">
				<label class="label-item single-overflow pull-left" title="装运单号：">起运地：</label>
				<input id="qyd" htmlEscape="false" maxlength="64"  class=" form-control"/>
			</div>
				<div class="col-xs-6 col-sm-3 col-md-2">
					<label class="label-item single-overflow pull-left" title="装运单号：">到站地：</label>
					<input id="dzd" htmlEscape="false" maxlength="64"  class=" form-control"/>
				</div>
				<div class="col-xs-6 col-sm-3 col-md-2">
					<label class="label-item single-overflow pull-left" title="装运单号：">运单号：</label>
					<input id="ydh" htmlEscape="false" maxlength="64"  class=" form-control"/>
				</div>
				<div class="col-xs-6 col-sm-3 col-md-2">
					<label class="label-item single-overflow pull-left" title="装运单号：">车牌号：</label>
					<input id="cph" htmlEscape="false" maxlength="64"  class=" form-control"/>
				</div>
				<div class="col-xs-6 col-sm-3 col-md-2">
					<div class="form-group">
						<label class="label-item single-overflow pull-left" title="起始时间">起始时间:</label>
						<div class="col-xs-12">
							<div class='input-group date' id='minDate' >
								<input type='text'  id="min" class="form-control"  />
								<span class="input-group-addon">
			                       <span class="glyphicon glyphicon-calendar"></span>
			                   </span>
							</div>
						</div>
					</div>
				</div>
				<div class="col-xs-6 col-sm-3 col-md-2">
					<div class="form-group">
						<label class="label-item single-overflow pull-left" title="截止时间">截止时间:</label>
						<div class="col-xs-12">
							<div class='input-group date' id='maxx' >
								<input type='text'  id="max" class="form-control"  />
								<span class="input-group-addon">
			                       <span class="glyphicon glyphicon-calendar"></span>
			                   </span>
							</div>
						</div>
					</div>
				</div>

				<shiro:hasPermission name="ap:lnsurance:pro">
					<div class="col-xs-6 col-sm-3 col-md-2">
						<label class="label-item single-overflow pull-left" title="：">项目：</label>
						<select id="pro" class=" form-control">
							<option value="">请选择</option>
							<option value="武汉润滑油仓储项目">武汉润滑油仓储项目</option>
							<option value="北京润滑油运输项目">北京润滑油运输项目</option>
							<option value="天津润滑油运输项目">天津润滑油运输项目</option>
							<option value="西安润滑油仓储配送项目">西安润滑油仓储配送项目</option>
							<option value="郑州润滑油运输项目">郑州润滑油运输项目</option>
							<option value="重庆润滑油仓储配送项目">重庆润滑油仓储配送项目	</option>
							<option value="石家庄润滑油仓储配送项目">石家庄润滑油仓储配送项目</option>
						</select>
					</div></shiro:hasPermission>
		   <div class="col-xs-12 col-sm-6 col-md-4">
			<div style="margin-top:26px">
			  <a  id="search" onclick="cx()" class="btn btn-primary btn-rounded  btn-bordered btn-sm"><i class="fa fa-search"></i> 查询</a>
			  <a  id="reset" onclick="dc()" class="btn btn-primary btn-rounded  btn-bordered btn-sm" ><i class="fa fa-refresh"></i> 导出</a>
			 </div>
	    </div>	
	</form:form>
	</div>

	
	<!-- 工具栏 -->
<table class="table text-nowrap">
	<tr>
		<th>货物总量</th>
		<th id="zl"></th>
		<th>估算总金额</th>
		<th id="zje"></th>
	</tr>
</table>
	<input type="hidden" id="ids"/><div style="overflow: scroll;   width:100%;height: 500px;">
	<!-- 表格 -->
	<table id="lnsuranceTable" class="table text-nowrap"  data-toolbar="#toolbar">
		<thead>
		<tr>
			<th>项目</th>
			<th>起运地</th>
			<th>到站地</th>
			<th>发货日期</th>
			<th>车牌号</th>
			<th>运单号</th>
			<th>保单名称</th>
			<th>货物名称</th>
			<th>包装</th>
			<th>件数</th>
			<th>重量</th>
			<th>运输方式</th>
			<th>货物估算金额</th>
		</tr>
		</thead>
		<tbody id="detil">

		</tbody>
	</table>
	</div>
    <!-- context menu -->
	</div>
	</div>
	</div>
</body>
</html>